package com.iukcy;

/**
 * @description: TODO
 * @author zhangzhufu
 * @date 2020/9/27 9:49
 * @version 1.0
 */
public class Hello implements HelloMBean  {
    private String greeting;

    public Hello(String greeting) {
        this.greeting = greeting;
    }
    public Hello() {
        this.greeting = "hello world!";
    }
    public String getGreeting() {
        return greeting;
    }
    public void setGreeting(String greeting) {
        this.greeting = greeting;
    }
    public void printGreeting() {
        System.out.println(greeting);
    }
}
